package org.taotao.manager.mapper;

import org.apache.ibatis.annotations.Param;
import org.taotao.manager.pojo.Item;

import com.github.pagehelper.Page;

public interface ItemMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Item record);

    int insertSelective(Item record);

    Item selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Item record);

    int updateByPrimaryKey(Item record);

	Page<Item> selectItemByPageNumSize(@Param("pageNum")int pageNum, @Param("pageSize")int pageSize);

}
